Added all solutions to Array-1