fixed #3 by repairing multiplication
FOR loops now push the correct end value.