add function to maximize the console window in windows