re-organized dir structure in order to submit the code to MOSS
implemented homework 4, 1 todo left
fixed bugs in js
removed debug info
updated js