Added some zero checking and improve place armies strategy slightly