Added my code for programming assignment #2