B type

Added functionality to interpret b type commands.