fixed bug in rotate method, no longer ignoring lists of length 2