Implementation of A3C