Change string 0 to int, add new display function and global var for solution