mine202ass2 $ python3 alg.py Fills the grid column by column while calculating EBV, CBV and TBV values on the way Example Output: