Laying the framework for Euler project 2