finish p18-p20

p18: Extract a slice from a list.
p19: Rotate a list N places to the left.
p20: Remove the K'th element from a list.