Made corrections. Program is workable.