Some homework on arrays