Added functionalities: Module calculation ('%'), Determining if a number is prime.