did project euler problems 1-3 for ruby basics