commiting work on exercises 1-3