added constructor to rubixcube class