Added first test and created a method in PrimeNumber