improved the documentation
added two test cases to determine if the negamax is implemented correctly
removed some redundant code