Changed PowerGrid declaration to protoypal style, added sort() and shuffle()