commit my solution to peer assignment 1