Lab3 assignment 1