Very basic brute force method to find prime numbers