The worlds worst and dirtiest implementation of Euler2. Will refactor tomorrow