solved euler20
solved euler21
solved euler22
added f.close() after file open