Adding State.print() function to help while debugging
merging