Simple Python implementation of 2048 game