python/nth-prime: First (primitive!) working solution