Added sbarr.cpp
Added class SBArr and its related functions