Porting and refactoring. Five solutions of project euler left to port now