Added pattern select and speed settings. Changed the way boxes are activated by including 'lives' for the different patterns.