remove free
final submission for hw2
slight change on opne
change open as O_CREAT mode