programming in structural engineering, showing code