Use int names instead of strings.
Added n towers problem.
Small code reorganization.