add primality tester
add bfs