Prime Number Solution (Version 1)

Contains a basic brute force solution, along with one based on
memoization.