First couple problems from project euler.