Made the cursor move up and down using CUU and CUD

This was done because iTerm2 does not understand CNL and CPL.