fix updating borders further away
test borders
move new line
input parser tests