Added array front and back methods