First try of Assignment2