My transition of improving my prime number calculator