Algorithm's layout is finished but implementation is bugged (Seg fault)
Fixed incomplete move search caused by a bug in finding pieces in the board