added main doublejump code and ground checker