Error Invalid Types Int Int For Array Subscript Error