added hw0.cpp
fixed some bugs
added script and updated hw
Added Makefile