Added register function (untested!)
Merge branch 'master' of https://github.com/stuycs-softdev/proj1-6