hw submission

mostly works - some bugs. wanted to turn something in