Remove unneeded <iostream>
Use unsigned int in template arguments