Simulation of Whirlpool Galaxy and its Companion