homework done and compiling