day 1 array solutions