Got the basic data and routine in place

Needed to develop more logic to solve this problem