solved HW1
homewor 1