Codes pertaining to my masters thesis