improved run time performance by a factor 2 (bufferedreader instead of scanner)