moved hw2 code into its own directory