Improved typing script to export to file
Created script to compute survivability of a specific type of pattern