fast crypt solving program from intermediate python course