Vector improved with getFront and getBack methods.