fixing grading tests overflowing the Int by using BigInt