converted to maven project
added byte[] manipulation, with pointer arithmethic