improved display() & compiled program for WinOS