Slided_Bread: Middle method implementation and test cases

* Implemented middle method for selecting middle elements
* Added test cases for the same.