finished assignment 1 for matchismo