beginning work on crypto implementation, some Euler problems