Implementation of VLC MAC Protocol