A C-based Chess Engine written as practice