Skeleton code for assignment 4