hw1 exercise1

this is the file for ex1