Python solutions to BYU Physics 430