fixed design flaw in insertion
Merge branch 'master' of https://github.com/yny/eecs584