Update h2048.hs

disabled input buffering; refactoring