Fixed bug at delete_front/back, added documentation for return cases