semi-working implementation of 101 teacups.