Euler's 10: ruby: fixed logic and optimization error(hash size lookup)
Euler's 10: python: implementation.