New scoring, fixed testing, fixed newline issue