Fixed IllegalArguementException being thrown for sides > 3. Ooops.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>