<prompt> Translate the following text to SwahiliThe castle was extended, and in 1582 the Towns College the precursor of the University of Edinburgh was founded.  <response>: Jumba hilo lilijengwa na kupanuliwa na mwaka 1582 Chuo cha Town kwanza cha Chuo Kikuu cha Edinburgh kilianzishwa. 