okay, fixed the bugs and finished 4.
fixing bugs from format changes and oops.
some commenting
Merge branch 'master' of https://github.com/nyucusp/gx5003-fall2013