make if prime method
updated Readme