Personally I would dump the front and rear variables. Variable theSize should be keeping track of the next available slot when inserting on the right and inserting on the left is always at 0. So i...