Reverse List Without Using Inbuilt Function