Refactor: Create method to pretty print State