fixed some bugs in the calculator and added check for potential straight