Added Unit Cap

Unit cap has been implemented. Once you have so many units on the field,
you cannot spawn any more. I still need to work on deducting the cost
from the resource bank.