game: Add cell liberty, neighbor check routines

Signed-off-by: Harshavardhana <harsha@harshavardhana.net>