bug fixes and styling changes

Mainly styling changes (indent widths, etc).
I think I found the bug that was causing the "cheating" when <= and >=
are used in the minimax function.