Added Fred's Assignment 3