Got program working.