Class to get a single character from standard input
Given a prime number, find the next prime.