Changes getSolution
Writes to solution .tab