Engineering thesis sample code