Fixed segfault. Now compiles and runs! :D