added prime.go and the test methods