Added Min function and skeleton for variable operations