solution for the software architecture class. python language.