fixing directory structure according to assignment instructions