Started Moores algorithm