Dots and Ties Exercise 1