Added if when castle creates a soldier. removed unnecessary 'else'