rails amoeba exercise