added functions; rev, drop, take and cons

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