Improved the lstlisting style.
Revert "Changed the formatting of some code in an answer."

This reverts commit 94f0f821b31f648a178fbda4f6b8f1389fd35d11.

Fixed the lstlisting style so now this is better off reverted.
Removed line numbers from the answer with 1 line of code.