E4P1

completed first part of exercise 4