finished implementation of simon_says