Adding solutions to Array Interview Questions