Solutions for first week exercises