Latest versions of vector and main. Max value hardcoded. Not printing result.out file properly.