init commit for project 2
functions done
if0 done