Fixed all build errors with help of compiler and internet, 20 minutes
Works now, had ot use debugger to find runtime errors and fix algorithm, took about 40 minutes