Testing Algorithms and whatnot with python