Spending two days in a lab can easily save you up to one hour reading literature
Pre-canned comments:
- Please, use your code editors "indent code", "format document", … functionality to indent your code – that makes it both easier to read for us (significantly so! This is a bit of a mess!), it also helps you see bugs yourself. Professional programmers use that functionality all the time, and will reject code that was not machine-formatted, because they don't trust themselves to see bugs without that. And for beginners, it's twice as important!