snake game using libtcod and python