Added checkForWorst function and changed totalChildren to type long.
Need to populate linked lists for worst cases and moves.