fix the type of array A and fix some type incompatible issues. also change all the Position<E> to PositionObject<E>
apply cast on all Position<E> objects, fix typos and add return statement for set removefirst and removelast methods in PositionList interface
add new file MyTextEditor.java and complete methods