first() working as intended.
last() not working in its current state

Added preliminary code for pollFirst() and floor()
Added more non-working changes to last()