How to build a stall monitor?

The Arduino community has produced a lot of beginner-oriented documentation; an example Google turned up is this from Adafruit:

There’s also this, which presents one possible solution to your monitoring conundrum:
https://thoughtbot.com/blog/arduino-bathroom-occupancy-detector