Tech Demo 1

Algorithm fully working with any grid size.