Struggling to rein in what was a $9 million deficit only a few months ago, city officials on Tuesday unveiled a balanced budget for the fiscal year starting July 1, one that did not include any layoffs or cuts to service. The city did not suddenly win the lottery.