attempt to implement a C version of "the hive" board game