Jordan's Last Update

Had to fix a bug on bound cases for recursive solution