added some calculation to excercise 1, ha2 ueb1