Add a simulator
using flags to indicate 4 walls
using cos and sin alike variable to mark the flags

TODO:
may change wall to one run as flags