Created nbttag.scala and tested it fully, it works fine