Troy man accused of exposing himself