Added List reverse using while loop