Game of Hog, implemented in Python