added skeleton code for assignment 2