added function for writing q table in disk and take it back as it was in previous episode