I implemented shifting by symbols. Please see below.