Reimplemented static Version of makemove and possiblemoves with huge
performance difference.