Add working solution to Euler #5