Resource Count updates when gathering

Resource count now updates when gathering
Subtracts resources when ships are built

when you build ships it now subtracts from your total resources however
much the ship costs and also does not let you build the ship if you do
not have enough resources