code of my master thesis