Write ArrayList's moveToStart(), moveToEnd(), prev(), next(), length(),

currPos(), moveToPos(), isAtEnd(), and getValue() methods.