Assignment2 for rpg-0007