The code for my second bachelor thesis