added all functions from final exam
some desc for py file