Added license notice
Added '<n>' argument. More tests