Codes of my masters thesis