Update doghouse.lua

I made it somehow that you can give events in an array with their weight and it'll handle the rest for you
-Havent debugged
-Havent touched the rest of the code