Added line break functionality as discussed in #22

I also parameterized the width