Added tests for primes, added prime, refactored abit