Code Extraction from a Dependently Typed Language to a Stack Based Language