Also added gun sprites to the thing. Here's the code.