A massive planet to the young disc star HD 81040