My code for Ludum Dare 27