adds resource check when trying to buy new building
Merge pull request #33 from biversen21/master

adds resource check when trying to buy new building