Fixed the bugs in shifting algorithm.
Merge branch 'master' of https://github.com/Vatsalgame/CSC309