made hw5 dir and almost finished hw5.pl question 1