worked on iprb
Completed IPRB without using numpy