Implementation of the HERA-B First Level Trigger