Adding in Shoup's algorithm code
Ignoring intellij files