Source code for my undergrad dissertation