completely redoing this, AGAIN.
added a maxPossibleBitsLeft variable
Merge branch 'master' of https://github.com/Kae7in/CS361_Assignment_3