solved cutting recepies in C,Python,Java