Dynamic Games Methods in Synthesis of Safe Ship Control Algorithms. (1st October 2018)