Started on tower algorithm