fixed some bugs in the integer overlow program