Began work on hw3 code