Improving is prime algortihm and updating travis to run test suite.