CNC cutting and nesting machine for MDF