Commiting recieving code written for first homework