Trivial implementation of 2048 for the terminal using python and ncurses