changed direction

now making a gird calculator for html pages