Added base^Cindow code for lab4