Help on my code!

Hi everyone, I don't have an ultrasound sensor. I just have switches. Sorry I didn't clarify that before!

And I did write the code combining random snippets I found on stack overflow so that is the reason why it won't work altogether.