added builtin last function

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
added min and max operators

Signed-off-by: Alexander Skjolden <alex@plastboks.net>